package cn.sfrog.project.biz.admin.domain;

import cn.sfrog.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


@Data
@TableName("biz_service_order_evaluation")
public class BizServiceOrderEvaluation extends BaseEntity<BizServiceOrderEvaluation>{

    public static final BizServiceOrderEvaluation DAO = new BizServiceOrderEvaluation();

    private static final long serialVersionUID = 1L;


    /** id */
    @TableId(type = IdType.AUTO)
    private Long id;


    /** 评价人 */
    private Long userId;


    /** 评价内容 */
    private String content;


    /** 评价图片 */
    private String images;


    /** 评分 */
    private Integer score;


    /** 评价订单sn */
    private String serviceOrderSn;


    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date evaluationTime;


    /** 审核状态【0=待审核 1=审核成功 2=审核失败】 */
    private String auditStatus;

    /** 审核时间 */
    private Date auditTime;


}
